<div id="tour-sidbar">
	<h3>Search</h3>
	<form action='cruise-search.html' method='post'>
		<!--<select name='city_id'>
			_{section name=city loop=$city_list}
			<option value="_{$city_list[city].city_id}">_{$city_list[city].city}</option>
			_{/section}
		</select>-->
		<input id="city" name="city" type="text" value="please click me "onclick="showcruise(this)">
		<div id="cruise_tour" style="display:none; left: 270px; position: relative; background-color: white; width: 240px;border:1px solid #397EAE">
		_{section name=city loop=$city_list}
			<input onchange="givesearchvalue(this)" type="radio" name='city' value="_{$city_list[city].city}">_{$city_list[city].city}<br>
		_{/section}
		</div>
		<script>
			var cruise_tour= document.getElementById('cruise_tour');
			function showcruise(v){
				cruise_tour.style.position = "absolute";
				cruise_tour.targetObj = v;
				v.parentNode.insertBefore(cruise_tour,v.nextSibling);
				cruise_tour.style.display='';
			}
			function givesearchvalue(v){
				var city= document.getElementById('city');
				city.value = v.value;
				city.style.disabled=true;
				cruise_tour.style.display='none';
			}
		</script>
		<br>
		<input type="text" name="date" value="Travel date" id="date" onfocus="HS_setDate(this)" />
		<select name='quotation'>
			<option value="600-1000">US$600-US$1000 p.p</option>
			<option value="500-650">US$500-US$650 p.p</option>
			<option value="400-500">US$400-US$500 p.p</option>
			<option value="300-400">US$300-US$400 p.p</option>
			<option value="<300">US$300 less p.p</option>
		</select>
		<input type="submit" value="&nbsp;&nbsp;&nbsp;" style="background:url(_{$base}images/btn-go.gif) no-repeat" />
	</form>
	<h3><a href="beijing-guide.html">Beijing Guide</a></h3>
	<a target="_blank" href="/map_of_beijing.htm">Map of Beijing</a>
	<br><a href="beijing_highlights.htm">Highlights</a>
	<br><a href="bjt02.htm">City Transport</a>
	<br><a target="_blank" href="http://travel.elong.com/ape/ap.asp?Campaign_ID=4208138">Accommodation</a>
	<br><br>
	<h3><a href="beijing-tour.html">Beijing Tour</a></h3>
	_{php}
	$tour_sidbar = tour::tour_list(0,false,5);
	foreach($tour_sidbar as $k=>$v){
	echo "<a href=tour-details-{$v['id']}.html>".k::cutstr($v['title'],23)."</a><br>";
	}
	_{/php}
	<br>
	<h3><a href="news.html">Travel News</a></h3>
	_{php}
	$news_sidbar = news::news_list(0,5);
	foreach($news_sidbar as $k=>$v){
	echo "<a href=news-details-{$v['nid']}.html>".k::cutstr($v['title'],23)."</a><br>";
	}
	_{/php}
	<br>
	<h3><a href="cruises-guide.html">Yangtze Cruise</a></h3>
	_{php}
	$cruise_sidbar = $data = mysql::connect()->fetch_all("select * from flight ORDER BY fid DESC Limit 0,5");
	foreach($cruise_sidbar as $k=>$v){
	echo "<a href=ship-show-{$v['fid']}.html>".k::cutstr($v['fname'],23)."</a><br>";
	}
	_{/php}
	<br>
	<h3><a href="contact-us.html">Contact Us</a></h3>
</div>
<script type="text/javascript" src="_{$base}scripts/date.js"></script>